#pragma once

#include "ScriptObjectBase.h"

class CJSObj_Url : public CScriptObject
{
public:
	CJSObj_Url(IWebBrowser2* pWeb);
	CJSObj_Url(IWebBrowser2* pWeb, IDispatch* pDisp);

	void GetAll();
	void SetAll();

public:
	CComPtr<IDispatch> m_pSession;
	_bstr_t m_bstrUrl;
	_bstr_t m_bstrHeader;
	_bstr_t m_bstrData;
	_bstr_t m_bstrRefer;
	long m_lCodepage;
};
